srcdir       = @srcdir@
top_builddir = @top_builddir@
top_srcdir   = @top_srcdir@

include ../Makefile.ext

SCM_CATEGORY = gauche

LIBFILES = gauche--fcntl.$(SOEXT)
SCMFILES = fcntl.sci

OBJECTS = fcntl.$(OBJEXT) gauche--fcntl.$(OBJEXT)

GENERATED = Makefile
XCLEANFILES = gauche--fcntl.c fcntl.sci

all : $(LIBFILES)

gauche--fcntl.$(SOEXT) : $(OBJECTS)
	$(MODLINK) gauche--fcntl.$(SOEXT) $(OBJECTS) $(EXT_LIBGAUCHE) $(LIBS)

gauche--fcntl.c fcntl.sci : fcntl.scm
	$(PRECOMP) -e -P -o gauche--fcntl $(srcdir)/fcntl.scm

install : install-std

